package com.freedom.auth.service;

import com.freedom.auth.domain.Permission;
import com.freedom.base.service.IBaseService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author freedom
 * @since 2023-10-13
 */
public interface IPermissionService extends IBaseService<Permission> {

    // 清除权限
    void clear();

    @Override
    List<Permission> getAll ();

    List<String> getUserSnById ( Long id );
}
